package interaction.input.concrete;

import processing.core.PGraphics;
import processing.core.PVector;

public class TapSignatureComponent extends AbstractSignatureComponent {
	private static int TAPS_TO_COLLECT = 10;
	
	public TapSignatureComponent(PVector position, PVector size) {
		super(position, size, TAPS_TO_COLLECT);
	}

	protected void drawRelative(PGraphics g) {
		g.ellipseMode(g.CENTER);
		g.stroke(0);
		g.fill(g.color(255));
		g.ellipse(g.width / 2, g.height / 2, 10 * (getBeats().size() + 1), 10 * (getBeats().size() + 1));
	}

}
